package com.chenqq.qsocket.listener;

import com.chenqq.qsocket.message.TextMessage;

public interface SocketMessageListener {
    void showFileInfo(String tag,String info);

    void sendMessageFail(String tag,String error);
    void sendFileProgress(String tag,int progress);
    void sendMessageSuccess(String tag);

    void receiveFileProgress(String IpAddress,String tag,int progress);
    void receiveFileSuccess(String tag,String IpAddress);
    void receiveMessageSuccess(String IpAddress ,TextMessage.MessageInfo tag);
    void receiveTxtSuccess(String IpAddress ,String tag);
}
